package cn.stylefeng.guns.modular.yingbao.mapper;

import cn.stylefeng.guns.modular.yingbao.entity.SysUserGroup;
import cn.stylefeng.guns.modular.yingbao.model.params.SysUserGroupParam;
import cn.stylefeng.guns.modular.yingbao.model.result.SysUserGroupResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户团队表 Mapper 接口
 * </p>
 *
 * @author jj
 * @since 2019-12-18
 */
public interface SysUserGroupMapper extends BaseMapper<SysUserGroup> {

    /**
     * 获取列表
     *
     * @author jj
     * @Date 2019-12-18
     */
    List<SysUserGroupResult> customList(@Param("paramCondition") SysUserGroupParam paramCondition);

    /**
     * 获取map列表
     *
     * @author jj
     * @Date 2019-12-18
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") SysUserGroupParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author jj
     * @Date 2019-12-18
     */
    Page<SysUserGroupResult> customPageList(@Param("page") Page page, @Param("paramCondition") SysUserGroupParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author jj
     * @Date 2019-12-18
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") SysUserGroupParam paramCondition);

    /**
    * @description :查询函数
    * @param id
    * @date : 2020/1/9 15:08
    * @author : jj
    */

    String  findId(String id);

    String  findDescId(String id);

}
